﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="phonebooks.aspx.cs" Inherits="Mobile.phonebooks" MasterPageFile="~/Main.master" %>

<%@ Register Src="~/Controls/Page.ascx" TagName="Page" TagPrefix="uc3" %>
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="head">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
    <div class="in_title mt" runat="server" id="div_search">
        >>通讯录</div>
    <div class="box">
        <input id="txt_name" runat="server" tabindex="1" type="text" />
        <asp:Button ID="btn_query_name" runat="server" Text="搜索" OnClick="btn_query_name_Click" />
        <asp:RadioButtonList ID="rbl_range" runat="server" RepeatDirection="Vertical" RepeatColumns="1">
            <asp:ListItem Selected="True">全部</asp:ListItem>
            <asp:ListItem>本集团</asp:ListItem>
            <asp:ListItem>共享集团</asp:ListItem>
        </asp:RadioButtonList>
    </div>
    <div runat="server" id="div_phonebook" visible="false">
        <asp:Repeater ID="Rept1" runat="server">
            <ItemTemplate>
                <div id="div_out" runat="server" class="bdr_t mt">
                    <div id="div_class" runat="server" class="g_box1">
                        <p class="mt5">
                            <a href='search.aspx?phonebookid=<%# Eval("phonebookid") %>'><%# Eval("phonebookname") %></a></p>
                    </div>
                </div>
            </ItemTemplate>
            <AlternatingItemTemplate>
                <div id="div_out" runat="server" class="bd">
                    <div id="div_class" runat="server" class="box">
                        <p class="mt5">
                            <a href='search.aspx?phonebookid=<%# Eval("phonebookid") %>'><%# Eval("phonebookname") %></a></p>
                    </div>
                </div>
            </AlternatingItemTemplate>
        </asp:Repeater>
        <uc3:Page ID="Page1" runat="server"></uc3:Page>
    </div>
</asp:Content>